import React from 'react';
import { Modal } from 'antd';

const DetailModal = (
  {
    visible,
    handleOk,
    handleCancel,
    ...props
  }: any) => {
  return (
    <div>
      <Modal
        title='Basic Modal'
        visible={visible}
        onOk={handleOk}
        onCancel={handleCancel}
      >
        <p>{props?.currentValue || '暂无'}</p>
        <p>Some contents...</p>
        <p>Some contents...</p>
      </Modal>
    </div>
  );
};

export default DetailModal;
